package com.yaolisheng.service;

import com.yaolisheng.pojo.SysConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author yaolisheng
 * @version 1.0
 * @date 2021/5/12 22:53
 */

@Component
@FeignClient(value = "PROVIDER-YLS" ,fallbackFactory = SysClientserviceFallbackFactory.class)
public interface SysClientService {


    @RequestMapping("/sysConfig/get")
    List<SysConfig> queryAll();
}
